package BasicModel.Element;

import java.util.LinkedList;
import BasicModel.Element.Component.*;

public class StateSet {
	LinkedList<Variable> stateVarList;
	PhaseVariable phaseVariable;
	SimpleStateVariable sigma;

	public StateSet (PhaseVariable phaseVar, SimpleStateVariable sigmaVar){
		this.stateVarList = new LinkedList<Variable>();
		this.phaseVariable = phaseVar;
		this.sigma = sigmaVar;
	}
	
	
	public StateSet() {
		this.stateVarList = new LinkedList<Variable>();
	}


	public PhaseVariable getPhaseVariable() {
		return phaseVariable;
	}
	public void setPhaseVariable(PhaseVariable phaseVariable) {
		this.phaseVariable = phaseVariable;
	}	
	
	public LinkedList<Variable> getStateVarList() {
		return stateVarList;
	}
	
	public void addState(Variable var){
		stateVarList.add(var);
	}
	public String getPhaseVarName(){
		return phaseVariable.getPhaseVarName();
	}
	
	public SimpleStateVariable getSigma() {
		return sigma;
	}
	public void setSigma(SimpleStateVariable sigma) {
		this.sigma = sigma;
	}
	

	
}
